//
// Created by ezio on 19-11-27.
//

#ifndef CAMERA_SERVER_COMMON_DEFINE_H
#define CAMERA_SERVER_COMMON_DEFINE_H
#define  MAX_BUFF_SIZE  (3*(SIZE_256KB))
#define SIZE_256KB (262144)

static const int SERVER_PORT = 8554;
static const char* SERVER_ADDRESS = "192.168.16.251";//"127.0.0.1" ;//"192.168.16.244";

static const char* PIC_DIR = "/home/ezio/Pictures/client.png";
// static const char* SNAP_DIR = "/root/snap_0.jpg";
static const char* SNAP_DIR = "/tmp/snap_0.jpg";
//static const char* SNAP_DIR = "snap_0.jpg";

static const char *SMEA_NAME = "reset_vio_sema";
static const char *SNAP_LOCK_NAME = "snap_lock_sema";
enum enum_staus{
    SET_PARAM=1,
    SNAP,
    RTSP=4
};

#endif //CAMERA_SERVER_COMMON_DEFINE_H
